#include <stdio.h>
void swap(int x, int y)
{
    int z;
    z=x;
    x=y;
    y=z;
    printf("\nx=%d,y=%d",x,y);
}

main( )
{
    int a=10,b=20;
    swap(a,b);
    printf("\na=%d,b=%d\n",a,b);
}


